home *** CD-ROM | disk | FTP | other *** search
/ Amiga CD-Sensation: Golden Games / Amiga CD-Sensation - Ausgabe 2 - Golden Games (1996)(GTI - Schatztruhe)(DE)[!].iso / Brain Activity / Rubik / source / header.c < prev    next >
C/C++ Source or Header  |  1990-08-11  |  1KB  |  78 lines

  1. /*    header.c  ...for rubik.c    */
  2.  
  3. /*    started 23-Dec-89    */
  4.  
  5. struct coord 
  6.     {
  7.     short x;
  8.     short y;
  9.     short z;
  10.     };
  11.  
  12. struct points
  13.     {
  14.     struct coord xyz [6] [6] [6];
  15.     };
  16.  
  17. struct one_square
  18.     {
  19.     struct coord *corner[4];
  20.     short colour;
  21.     };
  22.  
  23. #include <stdio.h>
  24. #include <stdlib.h>
  25. #include <string.h>
  26.  
  27. /*  need undef to stop compiler giving snotty warning
  28.     messages when NULL is redefined in exec/types.h
  29. */
  30.  
  31. #undef NULL
  32.  
  33. #include <exec/types.h>
  34. #include <exec/nodes.h>
  35. #include <exec/io.h>
  36. #include <exec/exec.h>
  37. #include <exec/memory.h>
  38. #include <exec/lists.h>
  39. #include <exec/interrupts.h>
  40. #include <exec/ports.h>
  41. #include <exec/libraries.h>
  42. #include <exec/tasks.h>
  43. #include <exec/execbase.h>
  44. #include <exec/devices.h>
  45.  
  46. #include <devices/input.h>
  47. #include <devices/inputevent.h>
  48.  
  49. #include <intuition/intuition.h>
  50. #include <intuition/intuitionbase.h>
  51.  
  52. #include <hardware/dmabits.h>
  53. #include <hardware/custom.h>
  54. #include <hardware/blit.h>
  55.  
  56. #include <graphics/gfx.h>
  57. #include <graphics/gfxmacros.h>
  58. #include <graphics/copper.h>
  59. #include <graphics/view.h>
  60. #include <graphics/gels.h>
  61. #include <graphics/regions.h>
  62. #include <graphics/clip.h>
  63. #include <graphics/text.h>
  64. #include <graphics/gfxbase.h>
  65.  
  66. #include <devices/keymap.h>
  67.  
  68. #include <libraries/dos.h>
  69. #include <libraries/diskfont.h>
  70.  
  71. #include <workbench/startup.h>
  72.  
  73. #include <proto/dos.h>
  74. #include <proto/exec.h>
  75. #include <proto/intuition.h>
  76. #include <proto/graphics.h>
  77.  
  78.